<div class="form-group row password-field">
  <%= form.label :password, class: 'col-md-2 col-form-label' %>
  <%= form.password_field :password, class: 'form-control col-md-4' %>
  <% if allow_forgot %>
    <%= link_to t(".forgot_password"), new_password_path, class: 'col-md-2 col-form-label' %>
  <% end %>
</div>
